package com.zk.mylib.ui.activity

import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import androidx.recyclerview.widget.LinearLayoutManager
import androidx.recyclerview.widget.RecyclerView
import com.zk.mylib.MainActivity
import com.zk.mylib.R

/**
 * 动画View
 */
class MotionLayout14Activity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_ui_motionlayout12)
        val recyclerview = findViewById<RecyclerView>(R.id.recyclerview)
        var datas= mutableListOf("UI")
        var homeAdapter = MainActivity.HomeAdapter(datas)

        recyclerview.layoutManager = LinearLayoutManager(this)
        recyclerview.adapter = homeAdapter
    }
}